<?php
	//include "getRuleNewsAdd.php";
	include '../../../../common/php/authority.php';
	$name = mysql_real_escape_string($_POST['name']);
	$userName = mysql_real_escape_string($_POST['userName']);
	$passWord = sha1($_POST['passWord']);
	$userType = mysql_real_escape_string($_POST['userType']);
	//	if ($ruleNewsAdd){
	$sql = "INSERT INTO `user` (`userName`, `passWord`, `name`, `userTypeId`) 
					VALUES ('$userName', '$passWord', '$name', '$userType');";
	mysql_query($sql);
	//	}
?>